<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:p="http://primefaces.org/ui">

    <body>

        <ui:composition template="./template.xhtml">

            <ui:define name="title">
                Báo cáo sản lượng
            </ui:define>

            <ui:define name="content">
                <h:form>
                    <p:commandButton immediate="true" ajax="false" action="productionByShortCode?faces-redirect=true" value="Theo đầu số"/>
                    <p:commandButton immediate="true" ajax="false" action="productionByTime?faces-redirect=true" value="Theo thời gian"/>
                    <p:commandButton immediate="true" ajax="false" action="productionOfService?faces-redirect=true" value="Theo nhóm dịch vụ"/>
                    <p:commandButton immediate="true" ajax="false" action="productionOfSubCp?faces-redirect=true" value="Sub CP"/>
                    <p:commandButton immediate="true" ajax="false" action="productionOfOperator?faces-redirect=true" value="Sản lượng MO"/>
                    <p:commandButton immediate="true" ajax="false" action="productionOfBroadcast?faces-redirect=true" value="Sản lượng MT"
                                     rendered="#{sessionBean.hasRight('view-heavy-reports', 'view')}"/>
                    <p:commandButton immediate="true" ajax="false" action="productionSmsContentServiceMap?faces-redirect=true" value="Phân tích tin broadcast"/>
                </h:form>
                <br/>
                <p:panel>
                    <ui:insert name="tabContent"></ui:insert>
                </p:panel>
            </ui:define>

        </ui:composition>

    </body>
</html>
